<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1SS.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<jsp:include page="head.htm"/>

	

</head>
<body>
	<div id="head"><h1>Ort ändern</h1></div>
	<jsp:include page="menu.jsp"/>
	<div id="content">
		<h2><c:out value="${title}"/></h2>
		<p><c:out value="${message}"/></p>
		<form method="post"  action="SaveOrt.html" >
		
			<table class="editing">
				<colgroup>
					<col class="attribute"/>
					<col class="value"/>
				</colgroup>
				<tbody>
					<tr>
						<td>Name des Ortes:</td>
						<td>
							<input type="hidden" id="orteid" name="orteid" value='<c:out value="${orte.orteid}"/>'/>
							<input type="text" name="stadt" value='<c:out value="${orte.stadt}"/>' size="50" />
						</td>
					</tr>
					<tr>
						<td>Bitte Region auswählen:</td>
						<td>
							<p>
							<br></br>
							<sub>
									<c:forEach items="${regionen}" var="region">
										<input type="radio" name="regionid" checked value='<c:out value="${region.regionid}"/>'/>
										<c:out value="${region.region}"/>
									</c:forEach>	
							</sub>
							</p>
						</td>
					</tr>
					<tr class="submit">
						<td colspan="2">
								<input type="submit" value="Ort ändern"  />
						</td>
					</tr>
				</tbody>
			</table>
		</form>
	</div>
</body>
</html>